﻿<?php include "../function.php"; ?>
<?php
include "err_message.php";						//褰╄泲
if(empty($_SERVER['HTTP_REFERER'])){
	$err_message = "璇蜂笉瑕佺洿鎺ヨ闂椤甸溃";
}
if (isset($err_message)){						//阌栾鎻愮ず鍏煎僵铔?
?>
<?php get_header("鍩熷悕璇佷功鐢熸垚"); ?>
<div class="<?php echo get_alert_class('danger'); ?>">
	<?php echo $err_message; ?>
</div>
<?php get_footer(); ?>
<?php die(); ?>
<?php
}
$domain = htmlspecialchars($_POST['domain']);
$chinese_name = htmlspecialchars($_POST['chinese_name']);
$english_name = htmlspecialchars($_POST['english_name']);
$register_date = htmlspecialchars($_POST['register_date']);
$upcoming_date = htmlspecialchars($_POST['upcoming_date']);
$chinese_address = htmlspecialchars($_POST['chinese_address']);
$english_address = htmlspecialchars($_POST['english_address']);
?>
<!DOCTYPE html>
<head>
	<meta charset="UTF-8">
	<title>鍩熷悕璇佷功</title>
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
	<link href="style.css" rel="stylesheet" />
</head>
<body class="cert-body">
<table width="600" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td height="76">
			<table border="0" cellspacing="0" cellpadding="0" align="center" width="100%">
				<tr>
					<td rowspan="12" width="1" bgcolor="#000000"></td>
					<td bgcolor="#000000" height="1" colspan="3"></td>
					<td rowspan="12" bgcolor="#000000" width="1"></td>
				</tr>
				<tr>
					<td colspan="3" align="center" background="images/xinnet_fontbg.gif" bgcolor="#FFFFFF">
						<br>
						<br>
						<br>
						<img src="images/coin.gif" width="222" height="153" />
						<br>
						<img src="images/title.gif" width="350" height="65" />
						<br>
						<span style="color: #999999;">ICANN 镙囧织鐢卞浗闄呭悕瀛楀强 IP 鍦板潃鍒嗛厤链烘瀯镓€鎸佹湁</span>
						<br>
						<br>
						<br>
						<table width="500" border="0" cellspacing="0" cellpadding="3">
							<tr class="L13">
								<td>
									<p align="left">
										<span class="p10">
											<b>锲介台椤剁骇鍩熷悕鏉冨▉链烘瀯ICANN</b>(The Internet Corporation for Assigned Names and Numbers)鎺堟潈鏂扮綉Xinnet.com鍒朵綔骞堕鍙戞璇并€?b>璇佹槑</b>锛?
										</span>
									</p>
									<p align="left">鍩熷悕 <span style="color: blue;"><b><?php echo $domain; ?></b></span> 宸茬敱 <span style="color: blue;"><?php echo $chinese_name; ?></span> 娉ㄥ唽锛屽苟宸插湪锲介台椤剁骇鍩熷悕鏁版嵁搴扑腑澶囨銆?/p>
									<p align="left">
										<span class="L13 Verdana_8">
											This certificate was issued by xinnet.com, which is authorized by ICANN(The Internet Corporation for Assigned Names and Numbers).
										</span>
										<br>
										<br>
										<span class="Verdana_8 L13">This is to certify that <span style="color: #FF0000;"><?php echo $english_name; ?></span> has registered the domain name <span style="color: #FF0000;"><?php echo $domain; ?></span> and the registration has taken effect since it was put on records in the database of gTLD(global Top Level Domain) in ICANN.</span>
									</p>
								</td>
							</tr>
						</table>
						<br>
						<table width="500" border="1" cellspacing="0" cellpadding="2" bordercolorlight="#666666" bordercolordark="#FFFFFF">
							<tr align="left"> 
								<td width="211" align="right">鍩熷悕锛?/td>
								<td width="275">&nbsp;<?php echo $domain; ?></td>
							</tr>
							<tr align="left">
								<td width="211" class="Verdana_8" align="right">Domain Name锛?/td>
								<td width="275">&nbsp;<?php echo $domain; ?></td>
							</tr>
							<tr align="left">
								<td width="211" align="right">娉ㄥ唽镓€链変汉锛?/td>
								<td width="275">&nbsp;<?php echo $chinese_name; ?></td>
							</tr>
							<tr align="left">
								<td width="211" class="Verdana_8" align="right">Registrant锛?/td>
								<td width="275">&nbsp;<?php echo $english_name; ?></td>
							</tr>
							<tr align="left">
								<td width="211" align="right">娉ㄥ唽镞堕棿锛?/td>
								<td width="275">&nbsp;<?php echo $register_date; ?></td>
							</tr>
							<tr align="left">
								<td width="211" class="Verdana_8" align="right">Registration Date锛?/td>
								<td width="275">&nbsp;<?php echo $register_date; ?></td>
							</tr>
							<tr align="left">
								<td width="211" align="right">鍒版湡镞堕棿锛?/td>
								<td width="275">&nbsp;<?php echo $upcoming_date; ?></td>
							</tr>
							<tr align="left">
								<td width="211" class="Verdana_8" align="right">Expiration Date锛?/td>
								<td width="275">&nbsp;<?php echo $upcoming_date; ?></td>
							</tr>
							<tr align="left">
								<td width="211" align="right">阃氢俊鍦板潃锛?/td>
								<td width="275">&nbsp;<?php echo $chinese_address; ?></td>
							</tr>
							<tr align="left">
								<td width="211" class="Verdana_8" align="right">Address锛?/td>
								<td width="275">&nbsp;<?php echo $english_address; ?></td>
							</tr>
						</table>
						<p class="center">链瘉涔︿粎鐢ㄤ簬璇佹槑璇ュ烟鍚嶆槸阃氲绷鍖椾含鏂扮綉鏁扮爜淇℃伅鎶€链湁闄愬叕鍙告敞鍐岋紝涓旇瘉涔︿俊鎭负褰撴椂鍩熷悕淇℃伅銆?/p>
						<p class="center">链瘉涔﹀苟涓嶅仛涓哄叾浠栬瘉鏄庢枃浠朵箣鐢紒</p>
						<p class="center">鍖椾含鏂扮綉鏁扮爜淇℃伅鎶€链湁闄愬叕鍙告槸鍏ㄧ悆ICANN鎺堟潈镄勫浗闄呭烟鍚嶆敞鍐屾湇锷″晢锛?/p>
						<div id="Layer1"><img src="images/zhang.gif" width="200" height="144"></div>
					</td>
				</tr>
				<tr>
					<td align="center" colspan="3">
						<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FF9900">
							<tr bgcolor="#CC0000">
								<td height="20">
									<div class="center"></div>
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td height="1" bgcolor="#000000" colspan="3"></td>
				</tr>
			</table>
		</td>
	</tr>
</table>
</body>
</html>